﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmAdminGuiaDespacho.aspx.vb" Inherits="Interfaz_frmAdminGuiaDespacho" title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
                <table style="width: 70%; background-color: white; border-bottom-width: thin; border-bottom-color: mediumblue;">
                    <tr>
                        <td colspan="" style="width: 173px; height: 22px; text-align: right">
                        </td>
                        <td colspan="1" style="width: 1%; height: 22px; text-align: right">
                        </td>
                        <td style="width: 25%; height: 22px; text-align: left">
                        </td>
                        <td style="width: 24%; height: 22px; text-align: right">
                        </td>
                        <td style="width: 1%; height: 22px; text-align: right">
                        </td>
                        <td style="height: 25%; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width:100%; height: 22px; text-align: center; background :black">
                            <strong>INGRESO GUIA DE DESPACHO</strong></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; height: 22px; text-align: right"><br />
                        </td>
                        <td style="width: 173px; height: 22px; text-align: right">
                        </td>
                        <td style="width: 200px; height: 22px; text-align: left">
                        </td>
                        <td style="width: 156px; height: 22px; text-align: right">
                        </td>
                        <td style="width: 156px; height: 22px; text-align: right">
                        </td>
                        <td style="height: 22px; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 173px; height: 22px; text-align: left">
                            Cliente </td>
                        <td style="width: 173px; height: 22px; text-align: right">
                            :</td>
                        <td style="width: 200px; height: 22px; text-align: left">
                            <asp:DropDownList ID="DropCliente" runat="server" Width="208px">
                            </asp:DropDownList></td>
                        <td style="width: 156px; height: 22px; text-align: left">
                            Fecha </td>
                        <td style="width: 156px; height: 22px; text-align: right">
                            :</td>
                        <td style="height: 22px; text-align: left">
                            <asp:TextBox ID="txtFecha" runat="server" Width="200px" ReadOnly="True"></asp:TextBox>
                            <asp:ScriptManager id="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                            <cc1:calendarextender id="CalendarExtender1" runat="server" CssClass="calendarContainer" Format="dd/MM/yyyy" TargetControlID="txtFecha"></cc1:calendarextender>
                           
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 173px; height: 26px; text-align: left;">
                            Requisicion </td>
                        <td style="width: 173px; height: 26px; text-align: right">
                            :</td>
                        <td style="width: 200px; text-align: left; height: 26px;">
                            <asp:DropDownList ID="DropRequisicion" runat="server" Width="208px">
                            </asp:DropDownList></td>
                        <td style="width: 156px; text-align: left; height: 26px;">
                            Orden de Compra </td>
                        <td style="width: 156px; height: 26px; text-align: right">
                            :</td>
                        <td style="text-align: left; height: 26px;">
                            <asp:DropDownList ID="DropOrdenCompra" runat="server" Width="184px">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: left">
                            Condiciones de Venta </td>
                        <td style="width: 173px; text-align: right">
                            :</td>
                        <td style="width: 200px; text-align: left">
                            <asp:TextBox ID="TxtCondVenta" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 156px">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: right"><br />
                        </td>
                        <td style="width: 173px; text-align: right">
                        </td>
                        <td style="width: 200px; text-align: left">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 173px; text-align: left">
                            <strong>INGRESO ITEM&nbsp;</strong></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: right"><br />
                        </td>
                        <td style="width: 173px; text-align: right">
                        </td>
                        <td style="width: 200px; text-align: left">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: left">
                            Nombre</td>
                        <td style="width: 173px; text-align: right">
                            :</td>
                        <td style="width: 200px; text-align: left">
                            <asp:DropDownList ID="DropItem" runat="server" Width="200px">
                            </asp:DropDownList></td>
                        <td style="width: 156px; text-align: left;">
                            Precio Unitario</td>
                        <td style="width: 156px">
                            :</td>
                        <td>
                            <asp:TextBox ID="TxtPrecioUnitario" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: left">
                            Cantidad</td>
                        <td style="width: 173px; text-align: right">
                            :</td>
                        <td style="width: 200px; text-align: left">
                            <asp:TextBox ID="TxtCantidad" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 156px; text-align: left;">
                            Codigo Item</td>
                        <td style="width: 156px">
                            :</td>
                        <td>
                            <asp:TextBox ID="TxtCodItem" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: left">
                            Descripcion</td>
                        <td style="width: 173px; text-align: right">
                            :</td>
                        <td style="width: 200px; text-align: left">
                            <asp:TextBox ID="TxtDescripcion" runat="server" Height="184px" Width="200px" TextMode="MultiLine"></asp:TextBox></td>
                        <td style="width: 156px">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100%; text-align: center" colspan="6">
                <asp:Label ID="LabelAviso" runat="server" Width="528px"></asp:Label></td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; text-align: center">
    <asp:GridView ID="GridGuiaDespacho" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
             ForeColor="#333333" GridLines="None"  Width="100%" CssClass="mGrid">
             <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:BoundField DataField="ITEM" HeaderText="Item">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CODIGO" HeaderText="C&#243;digo">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="PRECIOUNITARIO" HeaderText="Precio Unitario">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
                            <asp:Button ID="Button1" runat="server" Text="Ingresar" Width="160px" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; text-align: center">
                            &nbsp;<asp:Button ID="Button3" runat="server" Text="Limpiar" Width="80px" />
                            <asp:Button ID="Button2" runat="server" Text="Validar" Width="80px" /></td>
                    </tr>
                </table>
    </center>
    <br />
    &nbsp;
</asp:Content>

